<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <p>一段文字</p>
    <p>一段文字1</p>
    <p>一段文字2</p>
    <script>
        alert(document.cookie);
    </script>
    <!-- &lt;script&gt;alert(document.cookie);&lt;/script&gt; -->
</body>

</html>